package net.siufung.core.model.consts;

/**
 * @author 陈建峰
 * @since 2022/4/27 5:32 下午
 */
public class Constants {

    /**
     * 由……组成的
     */
    private final static String OF = "of";

    /**
     * 初始化密码
     */
    public final static String INIT_PASSWORD = "Siufung,123";
    /**
     * 默认租户
     */
    public final static String DEFAULT_TENANT_ID = "tenant_id";
    /**
     * Authorization认证Token开头的前缀
     */
    public final static String BEARER = "Bearer ";
    /**
     * 超级管理员的默认值
     */
    public final static String USER_SUPER_TYPE = "0";
    /**
     * 用户名前缀
     */
    public final static String USERNAME_PREFIX = "Siufung";
    /**
     * 获取当前用户的默认KEY
     */
    public final static String AUTH_CONTEXT_USER_KEY = "context_user";
    /**
     * 传输的Token
     */
    public final static String AUTH_CLIENT_TOKEN = "siufung-client-token";
    /**
     * 传输的用户信息
     */
    public final static String AUTH_CLIENT_USER = "siufung-client-user";
    /**
     * 传输的租户ID
     */
    public final static String AUTH_CLIENT_TENANT_ID = "siufung-client-tenant-id";
    /**
     * 不需要租户
     */
    public final static String AUTH_CLIENT_TENANT_ENABLE = "tenantEnabled";
}
